projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
466a7e4
)
* lisp/net/ange-ftp.el (ange-ftp-ls): Make a loop when sanitizing LSARGS.
author
Michael Albinus
<michael.albinus@gmx.de>
Sun, 13 Mar 2022 15:50:14 +0000
(16:50 +0100)
committer
Michael Albinus
<michael.albinus@gmx.de>
Sun, 13 Mar 2022 15:50:14 +0000
(16:50 +0100)
lisp/net/ange-ftp.el
patch
|
blob
|
history
diff --git
a/lisp/net/ange-ftp.el
b/lisp/net/ange-ftp.el
index ef8527fadae728fc6ca508c9df42b3c821e123ee..9937c022d9fe6d238ad293dad4066859f644d5e4 100644
(file)
--- a/
lisp/net/ange-ftp.el
+++ b/
lisp/net/ange-ftp.el
@@
-2554,7
+2554,7
@@
can parse the output from a DIR listing for a host of type TYPE.")
FILE is the full name of the remote file, LSARGS is any args to pass to the
`ls' command, and PARSE specifies that the output should be parsed and stored
away in the internal cache."
- (wh
en
(string-match "--" lsargs)
+ (wh
ile
(string-match "--" lsargs)
(require 'ls-lisp)
(setq lsargs (ls-lisp--sanitize-switches lsargs)))
;; If parse is t, we assume that file is a directory. i.e. we only parse